import request from "@/config/utils/request";

//保存
export function saveFinStorage(data) {
  return request({
    url: "/apis/smp/tran/storage/save/tranStorage",
    method: "POST",
    data
  });
}

// 提交
export function submitFinStorage(data) {
  return request({
    url: "/apis/smp/tran/storage/submit/tranStorage",
    method: "POST",
    data
  });
}

// 分页查询入库冲销清单引用冲销单关系
export function listTranStoragePage(data) {
  return request({
    url: "/apis/smp/tran/storage/listTranStoragePage",
    method: "POST",
    data
  });
}


//查询结算单
export function getTranWarehousingList(data) {
  return request({
    url: "/apis/smp/transSettlement/getTranWarehousingList",
    method: "post",
    data
  });
}

// 暂存接口
export function tsSaveTranStorage(data) {
  return request({
    url: "/apis/smp/tran/storage/tempSave/tranStorage",
    method: "post",
    data
  });
}


// 查询关联入库单
export function listRelationTranStoragePage(data) {
  return request({
    url: "/apis/smp/tran/storage/listRelationTranStoragePage",
    method: "POST",
    data
  });
}

// 查询关联入库单
export function listRelationFinStoragePage(data) {
  return request({
    url: "/apis/smp/tran/storage/listRelationFinStoragePage",
    method: "POST",
    data
  });
}